/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotNull;

/**
 * 配件_属性表实体类
 *
 * @author ysq
 * @since 2024-10-10
 */
@Data
@TableName("blade_maintain_parts_attribute")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MaintainPartsAttribute对象", description = "配件_属性表")
public class MaintainPartsAttribute extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 配件维保属性类别id
	 */
	@ApiModelProperty(value = "配件维保属性类别id")
	@NotNull(message = "配件维保属性类别id不能为空")
	private Long attributeCategoryId;
	/**
	 * 配件维保属性名称
	 */
	@ApiModelProperty(value = "配件维保属性名称")
	@NotNull(message = "配件维保属性名称不能为空")
	private String attributeName;
	/**
	 * 配件维保属性性质：0-定性，1-定量，2-操作，其余保留，待需求完善
	 */
	@ApiModelProperty(value = "配件维保属性性质：0-定性，1-定量，2-操作")
	@NotNull(message = "配件维保属性名称不能为空")
	private Integer nature;


}
